#include"TcpServer.hpp"
#include<memory>
#include<iostream>
#include<sys/types.h>
#include<sys/socket.h>
#include<cstring>
#include<string.h>
#include<unistd.h>
#include<stdlib.h>



int main(int argc,char* argv[])
{
    if(argc!=2)
    {
    }

    uint16_t port = std::stoi(argv[1]);

    std::unique_ptr<TcpServer> Tcp_server = std::make_unique<TcpServer>(port);
    Tcp_server->Init();
    Tcp_server->Start();


}
